<?php
/**
 * This file is part of webman.
 *
 * Licensed under The MIT License
 * For full copyright and license information, please see the MIT-LICENSE.txt
 * Redistributions of files must retain the above copyright notice.
 *
 * @author    walkor<walkor@workerman.net>
 * @copyright walkor<walkor@workerman.net>
 * @link      http://www.workerman.net/
 * @license   http://www.opensource.org/licenses/mit-license.php MIT License
 */

use support\view\ThinkPHP;

return [
    'handler' => ThinkPHP::class,
    'options' => [
        // 默认过滤函数
        'default_filter'     => 'htmlentities_view',
        // 替换字符串
        'tpl_replace_string' => [
            '__ADMIN_STATIC__'  => '/static/admin',
            /** 后台js目录 */
            '__ADMIN_JS__'      => '/static/admin/js',
            /** 后台css目录 */
            '__ADMIN_CSS__'     => '/static/admin/css',
            /** 后台字体目录 */
            '__ADMIN_FONTS__'   => '/static/admin/fonts',
            /** 后台图片目录 */
            '__ADMIN_IMAGES__'  => '/static/admin/images',
            /** 后台js插件目录 */
            '__ADMIN_PLUGINS__' => '/static/admin/plugins',
            /** static目录 */
            '__STATIC__'        => '/static',
            /** 前台static目录 */
            '__INDEX_STATIC__'  => '/static/index',
            /** 前台js目录 */
            '__INDEX_JS__'      => '/static/index/js',
            /** 前台css目录 */
            '__INDEX_CSS__'     => '/static/index/css',
            /** 前台图片目录 */
            '__INDEX_IMAGES__'  => '/static/index/images',
            /** 前台js插件目录 */
            '__INDEX_PLUGINS__' => '/static/index/plugins',
        ]
    ],
];